<table width="800"  border="0" cellspacing="1" cellpadding="5">
  <tr align="left">
    <td colspan="4" align="center" bgcolor="#CCFF00" ><strong>CẬP NHẬT NỘI DUNG FOOTER</strong></td>
    </tr>
      <td colspan="4" align="left" valign="top">{$msg}</td>
    </tr>
  <tr align="center">
    <td colspan="4" align="center" valign="top" bgcolor="">
		<script type="text/javascript" src="javascript/tinymce336/jquery.tinymce.js"></script>
		<textarea name="content" rows="68" id="content" style="height:300px; width: 740px;" class="tinymce">{$content}</textarea></td>
  </tr>
   <tr>
    <td width="29%" align="right" valign="middle"><input type="submit" name="Submit" value="Cập nhật" ></td>
    <td width="14%" align="center" valign="middle"><input type="reset" name="Submit2" value="Nhập lại"  /></td>
    <td width="57%" colspan="2">
      	<input type="button" value="Đóng cửa sổ"  onclick="window.close();">    </td>
  </tr>
</table>
{literal}
<script>
jQuery(document).ready(function(){
	jQuery('textarea.tinymce').tinymce({
		// Location of TinyMCE script
		script_url : 'javascript/tinymce336/tiny_mce.js',
		// General options
		theme : "advanced",
		//plugins : "safari,pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,inlinepopups,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template",
	 	plugins : "safari,fullscreen,inlinepopups,paste",
		// Theme options
		theme_advanced_buttons1 : "bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,bullist,numlist,fontselect,fontsizeselect,forecolor,backcolor,|,link,unlink,pasteword,removeformat,fullscreen",
		theme_advanced_buttons2 : "",
		theme_advanced_buttons3 : "",
		theme_advanced_buttons4 : "",
		theme_advanced_toolbar_location : "top",
		theme_advanced_toolbar_align : "left",
		theme_advanced_statusbar_location : "bottom",
		theme_advanced_resizing : true,
		theme_advanced_resize_horizontal : false,
		theme_advanced_fonts : "Arial=arial,helvetica,sans-serif;Verdana=verdana,geneva;Times New Roman=times new roman,times;Tahoma=tahoma,arial,helvetica,sans-serif;",
		theme_advanced_font_sizes : "3,4,5,6",
	 
		// Example content CSS (should be your site CSS)
		content_css : "css/content.css",
	 
		// Drop lists for link/image/media/template dialogs
		template_external_list_url : "lists/template_list.js",
		external_link_list_url : "lists/link_list.js",
		external_image_list_url : "lists/image_list.js",
		media_external_list_url : "lists/media_list.js",

        force_br_newlines : true,
        force_p_newlines : true,
	 
		// Replace values for the template plugin
		template_replace_values : {
			username : "Some User",
			staffid : "991234"
		}
	});
});	
</script>
{/literal}